package com.team2.outpatient_sys.pojo;

/**
 *配药表的实体类
 */
public class Dispense {
    private Integer id;
    private Integer prescriptionId;
    private String dispenseTime;

    public Dispense(){}

    public Dispense(Integer id, Integer prescriptionId, String dispenseTime) {
        this.id = id;
        this.prescriptionId = prescriptionId;
        this.dispenseTime = dispenseTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPrescriptionId() {
        return prescriptionId;
    }

    public void setPrescriptionId(Integer prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    public String getDispenseTime() {
        return dispenseTime;
    }

    public void setDispenseTime(String dispenseTime) {
        this.dispenseTime = dispenseTime;
    }

    @Override
    public String toString() {
        return "Dispense{" +
                "id=" + id +
                ", prescriptionId=" + prescriptionId +
                ", dispenseTime='" + dispenseTime + '\'' +
                '}';
    }
}
